package com.sx.jys.ui.adapter

import android.content.Context
import androidx.recyclerview.widget.RecyclerView
import com.kunminx.binding_recyclerview.adapter.SimpleDataBindingAdapter
import com.sx.jys.R
import com.sx.jys.app.framework.DiffUtilCallbacks
import com.sx.jys.app.net.bean.FxBeanList
import com.sx.jys.databinding.ItemFkListBinding

class ItemFkListAdapter(context: Context) :
    SimpleDataBindingAdapter<FxBeanList, ItemFkListBinding>(
        context,
        R.layout.item_fk_list, DiffUtilCallbacks().getItemCallBack()
    ) {
    override fun onBindItem(
        binding: ItemFkListBinding,
        item: FxBeanList,
        holder: RecyclerView.ViewHolder
    ) {
        binding.data = item
    }
}